#ifndef DIAGRAMACLASES_H_
#define DIAGRAMACLASES_H_

#include "model/Diagram.h"
#include "../Component.h"

class DiagramaClases: public Diagram {

protected:

    void serializeConnectedComponents(std::vector<Connector*> connectors, XmlWriter & writer);

public:
    DiagramaClases(const std::string & name = "unnamed");
    virtual ~DiagramaClases();
    virtual int getType();

    void serializeConnectedComponents(Component* component, XmlWriter & writer);
    void validateDiagram(std::fstream & filestr);
};

#endif /* DIAGRAMACLASES_H_ */
